﻿$location = "C:\Development\Projects\Infinity\Infinity\Infinity"

echo "Lexer:"
cd ($location + "\Parser\Lexical\")
gplex infinity.lex
echo "Parser:"
cd ($location + "\Parser\Syntax\")
gppg /nolines infinity.y >infinity.Syntax.cs
cd $location